import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import App from './App';
import store from './store';
import dayjs from 'dayjs';

import 'dayjs/locale/zh-cn';

import RelativeTIme from 'dayjs/plugin/relativeTime';
dayjs.locale('zh-cn');
dayjs.extend(RelativeTIme);

ReactDOM.render(
  <Provider store={store}>
    <App />
  </Provider>,
  document.getElementById('root')
);
